home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / OpenDoc / Interfaces / IDL / StdTypes.idl < prev    next >
Encoding:
Text File  |  1997-01-01  |  4.4 KB  |  94 lines  |  [TEXT/MPS ]

  1. //#    Copyright:    © 1993-1994 by Apple Computer, Inc., all rights reserved.
  2.  
  3. #ifndef _STDTYPES_
  4. #define _STDTYPES_
  5.  
  6. #ifndef _ODTYPESB_
  7. #include "ODTypesB.idl"
  8. #endif
  9.  
  10. //==============================================================================
  11. // Theory of Operation
  12. //==============================================================================
  13.  
  14. /*
  15.   This file is used to store all the standard persistent types. It must
  16.   be compiled by the SOM compiler with -D EMIT_GLOBAL_CONSTANTS
  17. */
  18.  
  19. //==============================================================================
  20. // Constants
  21. //==============================================================================
  22.  
  23. #if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
  24. #pragma somemittypes on
  25. #endif
  26.  
  27. //# Universal Types
  28.  
  29. const  ODValueType  kODBoolean         = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Boolean";
  30. const  ODValueType  kODUShort         = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:UShort";
  31. const  ODValueType  kODSShort         = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:SShort";
  32. const  ODValueType  kODULong        = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ULong";
  33. const  ODValueType  kODSLong        = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:SLong";
  34. const  ODValueType  kODULongSequence= "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ULongSequence";
  35.  
  36. const  ODValueType  kODISOStr        = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ISOStr";
  37. const  ODValueType  kODISOStrList   = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ISOStrList";
  38.  
  39. const  ODValueType  kODMacIText      = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:IntlText";
  40. const  ODValueType  kODIntlText      = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IntlText";
  41.  
  42. const  ODValueType  kODTime_T       = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Time_T";
  43.  
  44. const  ODValueType  kODPoint        = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Point";
  45. const  ODValueType  kODRect            = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Rect";
  46. const  ODValueType  kODPolygon        = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Polygon";
  47.  
  48. const  ODValueType  kODIconFamily      = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily";
  49. const  ODValueType  kODIconFamilyMac      = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:Macintosh";
  50. const  ODValueType  kODIconFamilyWin      = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:Windows";
  51. const  ODValueType  kODIconFamilyOS2      = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:OS2";
  52. const  ODValueType  kODIconFamilyAIX      = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:AIX";
  53.  
  54. const  ODValueType  kODTransform      = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Transform";
  55.  
  56. const  ODValueType  kODEditor        = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Editor";
  57.  
  58. const  ODType      kODStrongStorageUnitRef  = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRef";
  59. const  ODType      kODWeakStorageUnitRef    = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRef";
  60.  
  61. const  ODType      kODStrongStorageUnitRefs  = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRefs";
  62. const  ODType      kODWeakStorageUnitRefs    = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRefs";
  63.  
  64. const  ODValueType    kODLinkSpec        = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:LinkSpec";
  65. const  ODValueType    kODCloneKind    = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:CloneKind";
  66.  
  67. const  ODValueType    kODObjectType    = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ObjectType";
  68.  
  69. const  ODValueType    kODFrameList    = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:FrameList";
  70. const  ODValueType    kODFrameLinks    = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:FrameLinks";
  71.  
  72.  
  73. #ifdef _PLATFORM_MACINTOSH_
  74. //# Mac specific types:
  75.  
  76. //# Printing (use in kODPropPageSetup property):
  77. const ODPropertyName  kODTypeQuickDrawPageSetup            = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:QuickDrawPageSetup";
  78. const ODPropertyName  kODTypeGXPageSetup                = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:GXPageSetup";
  79.  
  80. #endif //_PLATFORM_MACINTOSH_
  81.  
  82.  
  83. #if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
  84. #pragma somemittypes off
  85. #endif
  86.  
  87. module OpenDoc_StdTypes 
  88. {
  89.     const string OpenDoc_StdTypes_Version = "1.0.";
  90. };
  91.  
  92. #endif  // _STDTYPES_
  93.  
  94.